Skip to content

Conversation

@chasays
Copy link

@chasays chasays commented Feb 5, 2026

update user desc

update user desc
@nirholas
Copy link
Owner

nirholas commented Feb 5, 2026

Hi can you explain what changes these will make and why?

Copy link
Author

@chasays chasays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a fallback mechanism to improve user bio extraction reliability

const bioDiv = [...cell.querySelectorAll('div[dir="auto"]')]
.find(d => (d.getAttribute('style') || '').includes('overflow: hidden'));
return (bioDiv?.textContent || '').trim();
};
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a fallback mechanism to improve user bio extraction reliability.

This update introduces getBioFromUserCell, which attempts to locate the bio text by searching for a div[dir="auto"] element with overflow: hidden styling—commonly used for truncated profile descriptions.
If the standard extraction path fails, this method provides an alternative way to retrieve the user’s bio, increasing robustness across different DOM structures and UI variations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants